package cn.bearspark.happening.dto.happening;

import cn.bearspark.common.convert.ConvertInfo;
import cn.bearspark.common.enumeration.ConvertTypeEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * 预约直播的信息，用于分页显示动态
 *
 * @author f
 */
@Data
public class BookLiveInfo4Display implements Serializable {

    /**
     * 预约直播的 id
     */
    private Long bookLiveId;

    /**
     * 预约直播的标题
     */
    private String title;

    /**
     * 预约的直播时间信息
     */
    @ConvertInfo(ConvertTypeEnum.FIXED_TIME)
    private String liveTimeInfo;

    /**
     * 预约人数信息
     */
    @ConvertInfo(ConvertTypeEnum.NUMBER)
    private String bookNumInfo;

    /**
     * 预约状态
     *
     * @see cn.bearspark.happening.enumeration.booklive.BookedEnum
     */
    private Integer booked;

    /**
     * 撤销状态
     *
     * @see cn.bearspark.happening.enumeration.booklive.CanceledEnum
     */
    private Integer canceled;

    /**
     * 截止状态
     *
     * @see cn.bearspark.happening.enumeration.DeadEnum
     */
    private Integer dead;

}
